package com.aaa.ms.entity;

import java.io.Serializable;

/**
 * (Comment)实体类
 *
 * @author makejava
 * @since 2021-01-14 08:50:27
 */
public class Comment implements Serializable {
    private static final long serialVersionUID = 309377154318318557L;

    private Long id;

    private Long shopId;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 订单为单一商品时，该字段有值
     */
    private Long productId;

    private String memberNickName;

    private String productName;
    /**
     * 评价星数：0->5
     */
    private Integer star;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getMemberNickName() {
        return memberNickName;
    }

    public void setMemberNickName(String memberNickName) {
        this.memberNickName = memberNickName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

}